{% extends 'layouts/base.html' %}
{% block content %}
  <div id="container" class="bj_color info_content_wrap">
      {%if info.driver_name != null or info.driver_phone != null or info.car_number != null or info.foreman != null %}
      <div class="weui_cells">
            <div class="weui_cell row_cell_two">
               <div class="weui_cell_hd left_txt">
                    <label class="weui_label">司机姓名</label>
                </div>
                <div class="weui_cell_bd weui_cell_primary right_txt">
                    <p>{{info.driver_name}}</p>
                </div>  
            </div> 
            <div class="weui_cell row_cell_two">
               <div class="weui_cell_hd left_txt">
                    <label class="weui_label">司机手机</label>
                </div>
                <div class="weui_cell_bd weui_cell_primary right_txt">
                    <p class="red_tips">{{info.driver_phone}}</p>
                </div>  
            </div>  
            <div class="weui_cell row_cell_two">
                <div class="weui_cell_hd left_txt">
                    <label class="weui_label">车辆号码</label>
                </div>
                <div class="weui_cell_bd weui_cell_primary right_txt">
                    <p>{{info.car_number}}</p>
                </div> 
            </div>
            <div class="weui_cell row_cell_two">
                <div class="weui_cell_hd left_txt">
                    <label class="weui_label">领班人员</label>
                </div>
                <div class="weui_cell_bd weui_cell_primary right_txt">
                    <p>{{info.foreman}}</p>
                </div> 
            </div>   
      </div>
      {%else%}
      <div style='padding:10px 15px; font: 15px;text-align:center;height:400px;
           display: -moz-box;  
   display: -ms-flexbox;    
    display: -webkit-box;
    display: -webkit-flex;
    -webkit-box-align: center;
     -moz-box-align:  center;
    -webkit-align-items:  center;
    -moz-align-items:  center;
    -ms-align-items:  center;
    '><p style="width:100%;">工作人员正在安排车辆配送！</p></div>
      {%endif%}
                   
  </div> 
{% endblock %}

